package com.hnichr.ump.autoconfigure.assessment;

import com.beisen.sdk.assessment.AssessmentConfiguration;
import com.hnichr.ump.common.Constant;
import com.hnichr.ump.common.vo.ModuleVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@ConditionalOnClass(AssessmentConfiguration.class)
@Import(AssessmentConfiguration.class)
@Slf4j
public class AssessmentAutoConfiguration {

	public AssessmentAutoConfiguration() {
		log.info("[AutoConfiguration==>]:Assessment Module Loading");
		Constant.addModule(new ModuleVO("Assessment","评测模块"));
	}
}
